package com.hejjon.knowledgebase.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * @author:
 * @date: 2022-12-08 14:49:00
 * @since: 1.0
 */
@ApiModel(value = "入库资产响应")
public class EntryPropertyVO {

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "物品名称")
    private String name;

    @ApiModelProperty(value = "所在教室")
    private String classroom;

    @ApiModelProperty(value = "物品数量")
    private Integer count;

    @ApiModelProperty(value = "维护厂家")
    private String repairFactory;

    @ApiModelProperty(value = "报修结束日期")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime repairEndTime;

    @ApiModelProperty(value = "入库人员")
    private String entryUser;

    @ApiModelProperty(value = "购买日期")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime buyTime;

    @ApiModelProperty(value = "入库日期")
    @JSONField(format = "yyyy-MM-dd")
    private LocalDateTime entryTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getClassroom() {
        return classroom;
    }

    public void setClassroom(String classroom) {
        this.classroom = classroom;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getRepairFactory() {
        return repairFactory;
    }

    public void setRepairFactory(String repairFactory) {
        this.repairFactory = repairFactory;
    }

    public LocalDateTime getRepairEndTime() {
        return repairEndTime;
    }

    public void setRepairEndTime(LocalDateTime repairEndTime) {
        this.repairEndTime = repairEndTime;
    }

    public String getEntryUser() {
        return entryUser;
    }

    public void setEntryUser(String entryUser) {
        this.entryUser = entryUser;
    }

    public LocalDateTime getBuyTime() {
        return buyTime;
    }

    public void setBuyTime(LocalDateTime buyTime) {
        this.buyTime = buyTime;
    }

    public LocalDateTime getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(LocalDateTime entryTime) {
        this.entryTime = entryTime;
    }

}
